package com.ckr.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Shadowckr
 * @create 2021-11-13 12:28
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Teacher {
    private int id;
    private String name;
    // 一个老师有多个学生（集合）
    private List<Student> studentList;
}
